package cn.com.dashihui.api.common;
/**
 * 支付配制
 */
public class GroupCode {

	/**
	 * buytype
	 * 
	 */
	public static class buytype{
		public final static int  ALONE = 0;
		public final static int  TEAM = 1;
	}

	/**
	 * 团购方式
	 * 1  普通
	 * 2  免单
	 */
	public static class gbmethod{
		public final static int  NOTFREE = 1;
		public final static int  FREE = 2;
	}
	
	/**
	 * 是否团长
	 * 1  是
	 * 2 不是
	 */
	public static class isLeader{
		public final static int  LEADER = 1;
		public final static int  NOTLEADER = 2;
	}
	/**
	 * 是否成团
	 * 1  是
	 * 0 不是
	 */
	public static class teamOver{
		public final static int  YES = 1;
		public final static int  NO = 0;
	}
	/**
	 * 免单方式方式
	 * 0 无需免单
	 * 1  需免单
	 * 2  退款中
	 * 3 已退款
	 * 4 过期已失效
	 */
	public static class isFree{
		public final static int  NEEDFREE = 1;
		public final static int  BACKING = 2;
		public final static int  BACKED = 3;
		public final static int  LATE = 4;
	}
	
	/**
	 * 异常订单状态
	 * 1  更改团购订单idfree失败
	 * 2  免单退款微信请求失败
	 * 3 isfree 改为 退款中失败
	 * 4 免单退款支付宝请求失败
	 * 5.修改团购订单为已退款失败
	 * 6.免单退款余额退款失败
	 */
	public static class exceptionType{
		public final static int  UPDATE_GBFREEPERSON_FAILED = 1;
		public final static int  GB_WX_SEND_REQ_FAILED = 2;
		public final static int  UPDATE_GB_REFUNDING_FAILED = 3;
		public final static int  GB_ZFB_SEND_REQ_FAILED = 4;
		public final static int  UPDATE_GB_REFUND_FAILED = 5;
		public final static int  UPDATE_GB_REFUNDUSERMONEY_FAILED = 6;
		
		public final static String  UPDATE_GBFREEPERSON_FAILED_ACTION = "保存免单状态";
		public final static String  UPDATE_GBFREEPERSON_FAILED_ACTION_TEAM = "团中团保存免单状态";
		public final static String  GB_WX_SEND_REQ_FAILED_ACTION = "免单请求失败";
		public final static String  GB_WX_SEND_REQ_FAILED_ACTION_TEAM = "团中团免单请求失败";
		public final static String  GB_ZFB_SEND_REQ_FAILED_ACTION = "大团支付宝免单请求失败";
		public final static String  GB_ZFB_SEND_REQ_FAILED_ACTION_TEAM = "支付宝团中团免单请求失败";
		public final static String  GB_MONEY_FAILED_ACTION = "大团免单退款余额更改失败";
		public final static String  GB_MONEY_FAILED_ACTION_TEAM = "团中团免单退款余额更改失败";
		public final static String  GB_MONEYLOG_FAILED_ACTION = "大团免单退款余额记录失败";
		public final static String  GB_MONEYLOG_FAILED_ACTION_TEAM = "团中团免单退款余额记录失败";
		public final static String  GB_ORDERLOG_FAILED_ACTION = "大团免单退款订单操作记录失败";
		public final static String  GB_ORDERLOG_FAILED_ACTION_TEAM = "团中团免单退款订单操作记录失败";
		
		
		
		public final static String  UPDATE_GBFREEPERSON_FAILED_CONTENT = "改为需免单失败";
		public final static String  UPDATE_GBFREEPERSON_FAILED_CONTENT_TEAM = "团中团改为需免单失败";
		public final static String  UPDATE_GB_REFUNDING_FAILED_CONTENT = "改为退款中失败";
		public final static String  UPDATE_GB_REFUNDING_FAILED_CONTENT_TEAM = "团中团改为退款中失败";
		public final static String  UPDATE_GB_REFUND_FAILED_CONTENT = "改为已免单失败";
		public final static String  UPDATE_GB_REFUND_FAILED_CONTENT_TEAM = "团中团改为已免单失败";
		public final static String  GB_WX_SEND_REQ_FAILED_CONTENT = "微信退款";
		public final static String  GB_ZFB_SEND_REQ_FAILED_CONTENT = "大团支付宝退款";
		public final static String  GB_WX_SEND_REQ_FAILED_CONTENT_TEAM = "团中团微信退款";
		public final static String  GB_ZFB_SEND_REQ_FAILED_CONTENT_TEAM = "团中团支付宝退款";
		public final static String  GB_MONEY_FAILED_CONTENT = "大团免单退款余额更改失败";
		public final static String  GB_MONEY_FAILED_CONTENT_TEAM = "团中团免单退款余额更改失败";
		public final static String  GB_MONEYLOG_FAILED_CONTENT = "大团免单退款余额记录失败";
		public final static String  GB_MONEYLOG_FAILED_CONTENT_TEAM = "团中团免单退款余额记录失败";
		public final static String  GB_ORDERLOG_FAILED_CONTENT = "大团免单退款订单操作记录失败";
		public final static String  GB_ORDERLOG_FAILED_CONTENT_TEAM = "团中团免单退款订单操作记录失败";
	}
	
	
}
